> ## Documentation Index
> Fetch the complete documentation index at: https://sequence-0fb8d9e6-api_docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Connecting External Wallets

> Documentation for Unreal SDK API to manage sessions for the Sequence infrastructure stack for web3 gaming.

<Warning>
  The examples below apply to versions 2.x.x.
  If you’re using version 3, use the SequenceEmbeddedWalletBP (Blueprints) and SequenceEmbeddedWallet (C++) classes instead.
</Warning>

Get- and remove linked wallets in your Unreal project. Learn more on [how to link external wallets](/solutions/wallets/developers/embedded-wallet/wallet-linking) such as Metamask on a web app.
Linking Wallets gives you read-only access to those wallets such as using our Indexer to query balances from externally owned items.

## Get Linked Wallets

Query the list of all wallets the user linked to their Embedded Wallet.

<Tabs>
  <Tab title="Blueprint">
    <Frame>
      <img src="https://mintcdn.com/sequence-0fb8d9e6-api_docs/auazpVRK2iFuGS6h/images/unreal/get_linked_wallets.png?fit=max&auto=format&n=auazpVRK2iFuGS6h&q=85&s=a0a9d3d0912939c43f4c499f4f91bcf7" width="2242" height="1184" data-path="images/unreal/get_linked_wallets.png" />
    </Frame>
  </Tab>

  <Tab title="C++">
    ```cpp theme={null}
    const TFunction<void (FSeqLinkedWalletsResponse)> OnApiSuccess = [OnSuccess](const FSeqLinkedWalletsResponse& LinkedWallets) { };
    const TFunction<void (FSequenceError)> OnApiFailure = [OnFailure](const FSequenceError& Err) { };

    USequenceWallet* Wallet = NewObject<USequenceWallet>();
    Wallet->GetLinkedWallets(OnApiSuccess, OnApiFailure);
    ```
  </Tab>
</Tabs>

## Remove Linked Wallet

Removes the specified wallet.

<Tabs>
  <Tab title="Blueprint">
    <Frame>
      <img src="https://mintcdn.com/sequence-0fb8d9e6-api_docs/uFPNPaUQoWqBdCiH/images/unreal/remove_linked_wallets.png?fit=max&auto=format&n=uFPNPaUQoWqBdCiH&q=85&s=75cbcc1c993ffb3ad2413d9271384a79" width="2242" height="1184" data-path="images/unreal/remove_linked_wallets.png" />
    </Frame>
  </Tab>

  <Tab title="C++">
    ```cpp theme={null}
    const TFunction<void()> OnApiSuccess = [OnSuccess]() { };
    const TFunction<void (FSequenceError)> OnApiFailure = [OnFailure](const FSequenceError& Err) { };

    USequenceWallet* Wallet = NewObject<USequenceWallet>();
    Wallet->RemoveLinkedWallet(LinkedWalletAddress, OnApiSuccess, OnApiFailure);
    ```
  </Tab>
</Tabs>
